

//  不保存在localStorage下面


import _this from "@/main.js";

const mutationTypes = {

}

const actionTypes = {

}

const state = {
    menu: [
        {
            iconName: "vcloud-yingyongjieru",
            title: "产品封装",
            children: [
                {
                    title: "服务列表",
                    routerPath: "/main/plugin"
                },
                {
                    title: "产品列表",
                    routerPath: "/main/product"
                }

            ]
        },
        {
            iconName: "vcloud-Rolepermissionmanagement",
            title: "单位管理",
            children: [
                {
                    title: "单位产品管理",
                    routerPath: "/main/tenantManage"
                },
                {
                    title: "单位服务记录",
                    routerPath: "/main/tenantOperation"
                }
            ]
        },
        {
            iconName: "vcloud-Positionmanagement",
            title: "账户管理",
            children: [
                {
                    title: "角色授权",
                    routerPath: "/main/role"
                }
            ]
        },
        {
            iconName: "vcloud-icon33",
            title: "资源管理",
            children: [
                {
                    id: 3,
                    title: "运维资源管理",
                    routerPath: "/main/devOpsResource"
                },
                {
                    title: "单位资源管理",
                    routerPath: "/main/tenantResource"
                },
                {
                    title: "数据字典配置",
                    routerPath: "/main/dataDic"
                },
                {
                    title: "服务参数列表",
                    routerPath: "/main/serverParamsConfigs"
                }
            ]
        },
        {
            iconName: "vcloud-businessMonitorCenter",
            title: "监控管理",
            children: [
                {
                    title: "系统监控",
                    routerPath: "/main/sysMonitor"
                },
                {
                    title: "服务日志",
                    routerPath: "/main/serverLog"
                },
                // {
                //     title: "告警通知",
                //     routerPath: "/main/warnNotice"
                // }
            ]
        },


    ]
}

const getters = {

}

const mutations = {

}

const actions = {

}

export default {
    state,
    getters,
    mutations,
    actions,
    mutationTypes,
    actionTypes,
    namespaced: true,
}